package com.share.dao.attach.advertise;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.attach.advertise.PositionItem;

/**
 * <p>Title：广告版位列表DAO</p>
 * <p>Description：</p>
 * @Author：杨浩泉
 * @Date：2010-4-24
 */
public interface PositionItemDao {

	public void savePositionItemDao(PositionItem pi) throws RuntimeException ;
	
	public void deletePositionItemDao(int id) throws RuntimeException ;
	
	public void updatePositionItemDao(PositionItem pi) throws RuntimeException ;
	
	public PositionItem loadByIdPositionItemDao(int id) throws RuntimeException ;

	public List<PositionItem> findAllPositionItemDao(String hql,String whereHQL,List<Object> param,LinkedHashMap<String , String> orderby) throws RuntimeException ;
	

}
